#ifndef __MODELT__HPP__
#define __MODELT__HPP__
#include <string>
#include "matrix.cpp"

using namespace std;

class modelTextured{
	public:
		unsigned int nbPoints,nbTexs,nbNodes;
		Matrix<double> points;
		Matrix<double> texs;
		Matrix<int> nodes;
		string fileText;
	public:
		modelTextured();
		modelTextured(unsigned int sizeP,unsigned int sizeT,unsigned int sizeN,string fileText);
		~modelTextured();
		static modelTextured* importFromFile(string file);
		void print() const;
		void applyMatrix(Matrix<double> &m);

		void drawPixel(int x, int y);
		void drawLine(double x1, double y1, double x2, double y2);
		void draw1();
};
#endif
